from pydantic import BaseModel

class ClassesCreate(BaseModel):
    name: str


class ClassesOut(BaseModel):
    id: int
    name: str

    class Config:
        from_attributes = True

class ClassesCount(BaseModel):
    count:int


class Class_userCreaate(BaseModel):
    class_id: int
    user_id: int



